﻿using DAL;
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class DeskInfoBLL
    {
        private DeskInfoDAL _deskInfoDAL = new DeskInfoDAL();

        public DataTable SelectDeskInfoById(int roomId)
        {

            return _deskInfoDAL.SelectDataById(roomId);
        }

        public int UpdateDeskState(int deskId, int state)
        {

            return _deskInfoDAL.UpdateDeskState(deskId, state);
        }
    }
}
